.brand-name {
    font-weight: bold;
    color: #162430 ; 
    font-size: 24px;
    line-height: 50px;
    vertical-align: middle;
  }
  
  .navbar-brand {
      display: flex;
      align-items: center;
    }
    
    .navbar-brand img {
      margin-right: 10px;
    }
  
  .navbar-nav .nav-link {
    font-size: 18px; /* Ukuran teks di menu */
  }
  
  .navbar-brand img {
    margin-right: 10px; /* Spasi antara logo dan teks */
  }
  
  .navbar-nav .nav-link.active {
      background-color:#3499D5    ; /* Biru */
      color: white;
      border-radius: 5px;
      padding: 8px 16px;
    }
    
    .navbar-nav .nav-link {
      color: #162430    ; /* Warna link default */
    }
    
    .navbar-nav .nav-link:hover {
      color:#162430;    /* Warna link saat hover */
      background-color:#60baee ;
      border-radius: 5px;
    }
    
    .navbar-nav .nav-item {
      margin-left: 15px; /* Jarak antara menu di sebelah kiri */
    }
    #carousel {
      position: relative;
    }

/* cover image*/
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
  }
  
  body, html {
      height: 100%;
      font-family: Arial, sans-serif;
  }
  
  .cover-container {
      position: relative;
      width: 100%;
      height: 70vh; /* Reduced height to 70% of the viewport height */
      overflow: hidden;
  }
  
  .cover-image {
      width: 100%;
      height: 100%;
      object-fit: cover; /* Ensures image covers the entire area */
      position: absolute;
      top: 0;
      left: 0;
      z-index: 1;
      border-top: 5px solid #1f5a7d ; /* Kasih bingkai di bagian atas aja */
      box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2); /* Bayangan di bawah bingkai atas */
  }
  
  .cover-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.5); /* Dark overlay */
      z-index: 2;
      display: flex;
      justify-content: flex-start; /* Aligns content to the left */
      align-items: center; /* Centers content vertically */
      padding-left: 30px; /* Adds space from the left edge */
  }
  
  .cover-content {
      color: #fff;
      z-index: 3;
      text-align: left; /* Ensures text is aligned to the left */
  }
  
  .cover-content h1 {
      font-size: 3rem;
      margin-bottom: 10px; /* Space between title and subtitle */
  }
  
  .cover-content p {
      font-size: 1.5rem;
      line-height: 0.5;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
      .cover-container {
          height: 50vh; /* Smaller height for smaller screens */
      }
  
      .cover-content h1 {
          font-size: 2rem;
      }
  
      .cover-content p {
          font-size: 1rem;
      }
  }
  
  @media (max-width: 480px) {
      .cover-container {
          height: 40vh; /* Even smaller height for very small screens */
      }
  
      .cover-content h1 {
          font-size: 1.5rem;
      }
  
      .cover-content p {
          font-size: 0.875rem;
      }
  
      .cover-overlay {
          padding-left: 15px; /* Reduced padding for small screens */
      }
  }
  
   /* Styling Galeri Gambar */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
}

.gallery-item.active .overlay {
    opacity: 1;
}

.title {
    font-size: 24px;
    margin: 0;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.tagline {
    font-size: 16px;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Styling untuk teks di samping gambar */
h3 {
  font-size: 2rem; /* Default size */
  margin-bottom: 1rem;
  color: #333;
}

.overlay p {
  font-size: 1rem; /* Default size */
  color: #ffffff;
  text-align: justify;
}

@media (max-width: 1200px) {
    h3 {
        font-size: 1.8rem; /* Slightly smaller for large screens */
    }

    .overlay p {
        font-size: 0.9rem; /* Slightly smaller for large screens */
    }
}

@media (max-width: 992px) {
    h3 {
        font-size: 1.6rem; /* Smaller for medium screens */
    }

    .overlay p {
        font-size: 0.85rem; /* Smaller for medium screens */
    }
}

@media (max-width: 768px) {
    h3 {
        font-size: 1.4rem; /* Smaller for tablets */
    }

    .overlay p {
        font-size: 0.8rem; /* Smaller for tablets */
    }
}

@media (max-width: 576px) {
    h3 {
        font-size: 1.2rem; /* Even smaller for small devices */
    }

    .overlay p {
        font-size: 0.75rem; /* Even smaller for small devices */
    }
}

/*footer*/

.footer {
    background-color: #000; /* Warna hitam */
    color: #fff; /* Teks putih */
}

.footer-logo img {
    max-width: 150px; /* Ukuran maksimal logo footer */
}

.footer a {
    color: #fff; /* Warna link putih */
    text-decoration: none;
  
}

.footer a:hover {
    text-decoration: underline;
}